<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('设备类型')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select class="first form-control" name="row[type]" >
                <option value="qp">棋牌</option>
                <option value="tq">台球</option>
            </select>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('设备编号')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-device_sn" data-rule="required" class="form-control" name="row[device_sn]" type="text" placeholder="仅限添加K8和台球设备，需要换行输入" style="height: 180px"></textarea>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('归属店铺')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shop_id" data-rule="required" data-source="shop/shop/index" class="form-control selectpage" name="row[shop_id]" type="text" value="">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
